package com.ku.service;

import java.util.Date;
import java.util.function.Supplier;

/**
 * @program: rocketMQKill
 * @description:
 * @author: JokerKu
 * @create: 2020-05-04 16:58
 **/
public interface StoreService {

    //查询当前库存的版本号
    int selectVersion(String supplierId, String goodsId);
    //修改库存版本号
    int updateStoreCountByVersion(int version, String supplierId, String goodsId,
                                  String updateBy, Date updateTime);

    //修改库存
    int selectStoreCount(String supplierId, String goodsId);
}
